import React, { Component } from "react";

import MyContext from "../contexts/MyContext";

export default class Hello extends Component {
  // static contextType = MyContext;
  // static propTypes = {}
  // static defaultProps = {}

  render() {
    console.log("this", this);

    return <div>Hello - {this.context as string}</div>;
  }
}

Hello.contextType = MyContext;
